package com.weipai.demo.controller;

import com.weipai.demo.model.loansManager;
import com.weipai.demo.service.LoansManagerService;
import com.weipai.demo.util.Response;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: 赵项阳
 * @Date: 2019/6/29 18:21
 * @Version 1.0
 */
@RestController
public class LoansManagerController {

    @Autowired
    private LoansManagerService loansManagerService;


    //信贷经理注册信息
    @RequestMapping(value = "/manager/register")
    public Response register(loansManager loansManager){

        return loansManagerService. register(loansManager);

    }
}
